package request

type MobileRegisterReq struct {
	Mobile string `form:"mobile" json:"mobile" xml:"mobile"  binding:"required"`
}

type SendSmsReq struct {
	Mobile string `form:"mobile" json:"mobile" xml:"mobile"  binding:"required"`
}

type LoginReq struct {
	Mobile string `form:"mobile" json:"mobile" xml:"mobile"  binding:"required"`
	Codes  string `form:"codes" json:"codes" xml:"codes"  binding:"required"`
}

type RegisterReq struct {
	Name string `form:"name" json:"name" xml:"name"  binding:"required"`
	Pass string `form:"pass" json:"pass" xml:"pass"  binding:"required"`
}

type NameLoginReq struct {
	Name string `form:"name" json:"name" xml:"name"  binding:"required"`
	Pass string `form:"pass" json:"pass" xml:"pass"  binding:"required"`
}

type PublishReq struct {
	UserId  int    `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	Title   string `form:"title" json:"title" xml:"title"  binding:"required"`
	Content string `form:"content" json:"content" xml:"content"  binding:"required"`
	Images  string `form:"images" json:"images" xml:"images"  binding:"required"`
	Videos  string `form:"videos" json:"videos" xml:"videos"  binding:"required"`
	LCount  string `form:"lCount" json:"lCount" xml:"lCount"  binding:"required"`
	CCount  string `form:"cCount" json:"cCount" xml:"cCount"  binding:"required"`
}

type ListReq struct {
	Content  string `form:"content" json:"content" xml:"content"  binding:"required"`
	Page     int    `form:"page" json:"page" xml:"page"  binding:"required"`
	PageSize int    `form:"pageSize" json:"pageSize" xml:"pageSize"  binding:"required"`
}

type SubscribeReq struct {
	UserId   int `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	FollowId int `form:"followId" json:"followId" xml:"followId"  binding:"required"`
}

type LListReq struct {
	Content  string `form:"content" json:"content" xml:"content"  binding:"required"`
	UserId   int    `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	Page     int    `form:"page" json:"page" xml:"page"  binding:"required"`
	PageSize int    `form:"pageSize" json:"pageSize" xml:"pageSize"  binding:"required"`
}

type SpotReq struct {
	UserId int    `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	LikeId int    `form:"likeId" json:"likeId" xml:"likeId"  binding:"required"`
	Types  string `form:"types" json:"types" xml:"types"  binding:"required"`
}

type DelReq struct {
	UserId int    `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	Types  string `form:"types" json:"types" xml:"types"  binding:"required"`
}

type LeaveReq struct {
	UserId    int    `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	CommentId int    `form:"commentId" json:"commentId" xml:"commentId"  binding:"required"`
	Types     string `form:"types" json:"types" xml:"types"  binding:"required"`
	Content   string `form:"content" json:"content" xml:"content"  binding:"required"`
}

type CommentDelReq struct {
	UserId int    `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	Types  string `form:"types" json:"types" xml:"types"  binding:"required"`
}

type PublishDelReq struct {
	UserId int `form:"userId" json:"userId" xml:"userId"  binding:"required"`
}

type PullGroupReq struct {
	GroupId  int `form:"groupId" json:"groupId" xml:"groupId"  binding:"required"`
	UserId1  int `form:"userId1" json:"userId1" xml:"userId1"  binding:"required"`
	UserId2  int `form:"userId2" json:"userId2" xml:"userId2"  binding:"required"`
	LeaderId int `form:"leaderId" json:"leaderId" xml:"leaderId"  binding:"required"`
}

type DelGroupReq struct {
	GroupId  int `form:"groupId" json:"groupId" xml:"groupId"  binding:"required"`
	LeaderId int `form:"leaderId" json:"leaderId" xml:"leaderId"  binding:"required"`
}

type PullPeopleReq struct {
	GroupId  int    `form:"groupId" json:"groupId" xml:"groupId"  binding:"required"`
	PullId   int    `form:"pullId" json:"pullId" xml:"pullId"  binding:"required"`
	PeopleId int    `form:"peopleId" json:"peopleId" xml:"peopleId"  binding:"required"`
	Types    string `form:"types" json:"types" xml:"types"  binding:"required"`
}

type AddMemberReq struct {
	UserId   int    `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	Position string `form:"position" json:"position" xml:"position"  binding:"required"`
}

type DelMemberReq struct {
	UserId int `form:"userId" json:"userId" xml:"userId"  binding:"required"`
}
